-
-
Notifications
You must be signed in to change notification settings - Fork 33.5k
doc: deprecations add more codemods #60243
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
AugustinMauroy
commented
Oct 13, 2025
- adding more codemods
- fixing wrong link
cc @nodejs/userland-migrations |
An automated migration is available ([source](https://github.com/nodejs/userland-migrations/tree/main/recipes/tmpdir-to-tmpdir)): | ||
|
||
```bash | ||
npx codemod@latest @nodejs/tmpDir-to-tmpdir |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should the casing be changed on this line too?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nope because the repo use lower case but the codemod registry have the uppercase naming published
The source code url and run commands for deprecation DEP0028 are incorrect. Could you please include the fix for that one in this PR as well? - npx codemod@latest @nodejs/util-debug-to-console-error
+ npx codemod@latest @nodejs/util-print-to-console-log - https://github.com/nodejs/userland-migrations/tree/main/recipes/util-debug-to-console-error
+ https://github.com/nodejs/userland-migrations/tree/main/recipes/util-print-to-console-log |
Co-Authored-By: Bruno Rodrigues <[email protected]>
good catch @brunocroh |